﻿@using Sausage.Web.Domain
@model Sausage.Web.Models.UserConfirmViewModel
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <title>修改用户密码</title>
    <link type="text/css" rel="stylesheet" href="@Url.Content("~/Content/Styles/Layout.css")" media="all">
    <link type="text/css" rel="stylesheet" href="@Url.Content("~/Content/Styles/Site.css")" media="all">
    <link href="@Url.Content("~/Scripts/ExtJS/resources/css/ext-all-gray.css")" rel="stylesheet" type="text/css" />
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="@Url.Content("~/Scripts/JQuery/jquery-1.6.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/JQuery/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/JQuery/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="container">
        <header>
            <div id="logo">
                &nbsp;</div>
            <div id="login_menu">
                <ul>
                    <li></li>
                </ul>
            </div>
        </header>
        <div id="main">
            <div id="topBarPlace">
            </div>
            <div id="sidemenu">
            </div>
            <div id="content">
                <h2>
                    您的密码被重置了，请更换新密码！</h2>
                <div class="form-box">
                    @using (Html.BeginForm())
                    {
                        <div class="form-attention">
                            <ul>
                                <li>
                                    <p>@Html.ValidationSummary(true)</p>
                                    <p>@Html.ValidationMessageFor(model => model.OldPassword)</p>
                                    <p>@Html.ValidationMessageFor(model => model.Password)</p>
                                    <p>@Html.ValidationMessageFor(model => model.PasswordAgain)</p>
                                </li>
                            </ul>
                        </div>
                        
                        @Html.HiddenFor(model => model.UserID)
                        <div class="text-label">
                            @Html.LabelFor(model => model.OldPassword)<span class="redStar">*</span>
                        </div>
                        <div class="text-input">
                            @Html.PasswordFor(model => model.OldPassword, new { autocomplete = "off" })
                        </div>
                        <br />
                        
                        <div class="text-label">
                            @Html.LabelFor(model => model.Password)<span class="redStar">*</span>
                        </div>
                        <div class="text-input">
                            @Html.PasswordFor(model => model.Password, new { autocomplete = "off" })
                        </div>
                        <br/>
                        
                        <div class="text-label">
                            @Html.LabelFor(model => model.PasswordAgain)<span class="redStar">*</span>
                        </div>
                        <div class="text-input">
                            @Html.PasswordFor(model => model.PasswordAgain, new { autocomplete = "off" })
                        </div>

                        <br />
                        <p>
                            <input type="submit" class="text-button" value="修改" />
                        </p>
                    }
                </div>
    <br />
    <br />
    <br />
    <footer>
        <ul>
            <li>
                天水公路总段 &copy;  版权所有.
            </li>
        </ul>
    </footer>
    </div> </div> </div>
</body>
</html>
